package com.logos.musicframe.converter;

import com.logos.musicframe.entity.Playlist;
import com.logos.musicframe.entity.SongsPlaylist;
import com.logos.musicframe.req.PlaylistReq;
import com.logos.musicframe.req.SongsPlaylistReq;
import com.logos.musicframe.resp.PlaylistResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * @author logos
 * date 2025/5/29 17:57
 * @version v1.0
 * @Package com.logos.musicframe.converter
 */
@Mapper
public interface SongPlaylistConverter {

    SongPlaylistConverter INSTANCE = Mappers.getMapper(SongPlaylistConverter.class);

    /**
     * Req TO entity
     * @return
     */
    SongsPlaylist convertReqToEntity(SongsPlaylistReq songsPlaylistReq);

}